<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<title>工作安排</title>
		<t:base type="jquery,easyui,tools,DatePicker"></t:base>
	</head>
	<body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password"
			layout="table" action="scheduleController.do?doAddOrUpdate" tiptype="3">
			<input id="id" name="id" type="hidden" value="${schedulePage.id }">
			<table style="width: 99%;" cellpadding="0" cellspacing="1"
				class="formtable">
				<tr>
					<td align="right">
					<span class="text_red">*</span>&nbsp;
						<label class="Validform_label">
							计划名称:
						</label>
					</td>
					<td class="value">
						
						<input id="name" name="name" type="text" style="width: 150px"
							class="inputxt" value='${schedulePage.name}'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">
							计划名称
						</label>
					</td>
				</tr>
				<tr>
					<td align="right">
					<span class="text_red">*</span>&nbsp;
						<label class="Validform_label">
							开始时间:
						</label>
					</td>
					<td class="value">
						
						<input id="startTime" name="startTime" type="text" datatype="*"
							style="width: 150px" class="Wdate" onClick="WdatePicker()"
							value='<fmt:formatDate value='${schedulePage.startTime}' type="date" pattern="yyyy-MM-dd"/>'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">
							开始时间
						</label>
					</td>
				</tr>
				<tr>
					<td align="right">
					<span class="text_red">*</span>&nbsp;
						<label class="Validform_label">
							结束时间:
						</label>
					</td>
					<td class="value">
						
						<input id="endTime" name="endTime" type="text" datatype="*"
							style="width: 150px" class="Wdate" onClick="WdatePicker()"
							value='<fmt:formatDate value='${schedulePage.endTime}' type="date" pattern="yyyy-MM-dd"/>'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">
							结束时间
						</label>
					</td>
				</tr>
				<tr>
					<td align="right">
					<span class="text_red">*</span>&nbsp;
						<label class="Validform_label">
							负责人姓名:
						</label>
					</td>
					<td class="value" nowrap>
						<input name="fzrids"  type="hidden" value="${schedulePage.fzrids}"
							id="fzrids">
						<input name="fzrnames" class="inputxt" value="${schedulePage.fzrnames }"
							id="fzrnames" readonly="readonly" datatype="*" />
						<t:choose hiddenName="fzrids" hiddenid="id" width="400px" height="500px"
							url="userController.do?selectUsers" name="userList" icon="icon-search"
							title="用户列表" inputTextname="fzrnames" textname="realName" isclear="true"
							isInit="true"></t:choose>
						
					</td>
				</tr>
				<tr>
					<td align="right">
					<span class="text_red">*</span>&nbsp;
						<label class="Validform_label">
							工作内容:
						</label>
					</td>
					<td class="value">
						
						<textarea id="content" name="content"
							style="height: 100px; width: 500px" datatype="*5-2000">${schedulePage.content}</textarea>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">
							工作内容
						</label>
					</td>
				</tr>
			</table>
		</t:formvalid>
	</body>